package com.controller.lib.entity

import com.google.gson.annotations.SerializedName

/**
 *    @author : GeRui
 *    date   : 2025/6/18 17:39
 *    desc   :
 *    version: 1.0
 */
data class ApResult(
  @SerializedName("ap")
  var ap: Ap,
  @SerializedName("device")
  var device: Device
)

data class Ap(
  @SerializedName("accessKey")
  var accessKey: String,
  @SerializedName("address")
  var address: String,
  @SerializedName("gid")
  var gid: String,
  @SerializedName("id")
  var id: Int,
  @SerializedName("instanceId")
  var instanceId: Any?,
  @SerializedName("secretKey")
  var secretKey: String,
  @SerializedName("topic")
  var topic: String
)

data class Device(
  @SerializedName("createdAt")
  var createdAt: String,
  @SerializedName("deviceSerialNo")
  var deviceSerialNo: String,
  @SerializedName("groupId")
  var groupId: Any?,
  @SerializedName("id")
  var id: Int,
  @SerializedName("ip")
  var ip: String,
  @SerializedName("mac")
  var mac: String,
  @SerializedName("name")
  var name: String,
  @SerializedName("onlineStatus")
  var onlineStatus: Int,
  @SerializedName("status")
  var status: Int,
  @SerializedName("type")
  var type: String,
  @SerializedName("updatedAt")
  var updatedAt: String
)
